package com.shequan.search.dao;

import java.util.List;

import com.shequan.activity.bean.pojo.ActivityTag;
import com.shequan.search.bean.bo.QryActivityDetailBean;
import com.shequan.search.bean.bo.QryActivityParamBean;
import com.shequan.search.bean.bo.QryShequanParamBean;
import com.shequan.search.bean.bo.UserDetailBean;
import com.shequan.shequan.bean.pojo.Shequan;

/**
 * <P>
 * Copyright 2012 shequaner.
 * 
 * All Rights Reserved.
 * 
 * @author mazg
 * @version 1.0, 2012-3-6
 * @see com.shequan.search.dao.SearchDAO
 * @since 1.0
 */
public interface SearchDAO {
	/**
	 * 根据用户ID查询社圈列表
	 * 
	 * @param userId
	 * @return
	 * @throws Exception
	 * @author mazg
	 * @date 2012-3-14 下午9:35:44
	 */
	List<Shequan> queryShequanListByUserId(Integer userId) throws Exception;

	/**
	 * 查询用户明细列表
	 * 
	 * @param userDetail
	 * @return
	 * @throws Exception
	 * @author mazg
	 * @date 2012-3-14 下午9:35:57
	 */
	List<UserDetailBean> queryUserInfoListByUserDetail(UserDetailBean userDetail) throws Exception;

	/**
	 * 查询社圈列表
	 * 
	 * @param shequanParamBean
	 * @return
	 * @throws Exception
	 * @author mazg
	 * @date 2012-3-14 下午9:36:31
	 */
	List<Shequan> queryShequanListByParamBean(QryShequanParamBean shequanParamBean) throws Exception;

	/**
	 * 查询活动列表
	 * 
	 * @param activityParamBean
	 * @return
	 * @throws Exception
	 * @author mazg
	 * @date 2012-3-14 下午9:36:43
	 */
	List<QryActivityDetailBean> queryActivityDetailListByParamBean(QryActivityParamBean activityParamBean) throws Exception;

	/**
	 * 根据活动ID查询活动标签
	 * 
	 * @param activityId
	 * @return
	 * @throws Exception
	 * @author mazg
	 * @date 2012-3-14 下午9:36:52
	 */
	List<ActivityTag> queryActivitTagListByActId(Integer activityId) throws Exception;

}
